﻿#ifndef __VMTYPE__
#define __VMTYPE__
#include <iostream>
#include <string>
#include <sstream>
namespace hw
{
	struct Vmtype
	{
		Vmtype() = default;
		Vmtype(std::string &name, const int &core, const int &memory, bool &is_double) : name(name), core(core), memory(memory), is_double(is_double){};

		std::string repr() const
		{
			std::ostringstream buffer;
			buffer << "Vmtype(" << name << ',' << core << ',' << memory << ',' << is_double << ')';
			std::string str = buffer.str();
			return str;
		}
		std::string name;
		int core;
		int memory;
		bool is_double;
	};
}; // namespace hw

#endif